package com.itheima.vo;

import lombok.Data;

/**
 * @Description: 分页公共类
 * @Date :2019-08-15 16:04
 * @Author : yuan_he_song
 */
@Data
public class PageCommonVO {
    // 车场id
    private Integer parkid;
    // 当前页
    private Integer pageNum;
    // 每页记录数
    private Integer pageSize;

    public boolean checkParams(){
        return parkid == null ||
                pageNum == null || pageSize == null;
    }
}
